//
//  DataBaseHandler.h
//  Atlantis
//
//  Created by 홍지성 on 14/12/30.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
@class Music;
@interface DataBaseHandler : NSObject
{
    sqlite3 *dbpoint;
}


+ (DataBaseHandler *)shareInstance;
// 打开数据库
- (BOOL)openDB;
// 创建表
- (BOOL)createTable;
// 添加一条对象数据
- (BOOL)insertMusic:(NSDictionary *)dic;
// 查询一条对象数据
- (NSMutableArray *)selectAll;
// 删除一条学生对象数据
- (BOOL)deleteMusicWithId:(NSString *)number;











@end
